//
//  XHOrderDetailsCell.h
//  elxc-jl
//
//  Created by 冷山 on 16/5/5.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol  XHOrderDetailsCellDelegate<NSObject>

- (void)userIdAction:(UIButton*)button;
- (void)headerAction:(id)sender;
@end

static NSString * const XHOrderDetailsCellIdentifier = @"XHOrderDetailsCellIdentifier";

@interface XHOrderDetailsCell : UITableViewCell

@property (assign, nonatomic) id<XHOrderDetailsCellDelegate>delegate;
@property (weak, nonatomic) IBOutlet UIImageView *ui_userImage;
@property (weak, nonatomic) IBOutlet UILabel *ui_userName;
@property (weak, nonatomic) IBOutlet UIButton *ui_userPhone;
@property (weak, nonatomic) IBOutlet UILabel *ui_class;
@property (weak, nonatomic) IBOutlet UILabel *ui_place;
@property (weak, nonatomic) IBOutlet UILabel *ui_time;
@property (weak, nonatomic) IBOutlet UIImageView *ui_stateImage;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *la_viewHeight;
@end
